<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

	<title><?php if ( is_home() ) { ?><?php bloginfo('description'); ?> <?php bloginfo('name'); ?><?php } else { ?><?php wp_title(''); ?> - <?php bloginfo('name'); ?><?php } ?></title>
	
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

	<style type="text/css" media="screen">
	body{
		background: url("<?php bloginfo('stylesheet_directory'); ?>/images/background.png");
		background-repeat: repeat-x;
		background-color: #4A839B;
	}
	<?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
	#page		{ background: url("<?php bloginfo('stylesheet_directory'); ?>/images/bg2.png") repeat-y top; border: none; } <?php } else { // No sidebar ?>
	#page		{ background: url("<?php bloginfo('stylesheet_directory'); ?>/images/bg2.png") repeat-y top; border: none; } <?php } ?>
	#header 	{ background: url("<?php bloginfo('stylesheet_directory'); ?>/images/header.png") no-repeat bottom center; }
	#footer 	{ background: url("<?php bloginfo('stylesheet_directory'); ?>/images/footer.png") no-repeat bottom; border: none;}
	</style>

<?php wp_head(); ?>
</head>
<body>
<div id="header">
	<div id="headertext">
		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
		<div class="description"><?php bloginfo('description'); ?></div>
	</div>
</div>
<div id="page">